package com.teamwings.common.jsqlparser.schema;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ParsedStructureQuery extends StructureQuery implements Serializable {
    // 被解析的sql语句
    private String sql;
    // 解析获得的字段
    private List<String> columnList;
    // 是否有limit
    private boolean hasLimit;
    // 是否有where
    private boolean hasWhere;
    // 是否有order by
    private boolean hasOrderBy;
}
